package com.smh.chouxiang;

public class Test {
    public static void main(String[] args) {
        Person person = new Person() {
            @Override
            public void show() {
                System.out.println("sdaasd");
            }
        };

        person.show();

        Teacher t = new Teacher();
        t.show();

    }
}
